/*
 *    Copyright (c) 2018-2025, cloud All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: cloud
 */

package com.fuyao.cloud.asset.dto.barcode;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fuyao.cloud.common.data.mybatis.SearchCondition;
import com.fuyao.cloud.common.data.mybatis.SearchOp;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 条码库
 *
 * @author 时间的朋友
 * @date 2021-11-17 14:47:09
 */
@Data
@ApiModel(value = "条码库查询条件对象")
public class AssetPublicbarcodeDTO {

    private static final long serialVersionUID = 1L;

    @SearchCondition(op = SearchOp.LIKE)
    @ApiModelProperty(value="条形码")
    private String barcode;

    @SearchCondition(op = SearchOp.LIKE)
    @ApiModelProperty(value="名称")
    private String name;

    @SearchCondition(op = SearchOp.LIKE)
    @ApiModelProperty(value="规格型号")
    private String standard;

    @SearchCondition(op = SearchOp.GT, mappingField = "price")
    @ApiModelProperty(value="价格大于")
    private String priceGt;

    @SearchCondition(op = SearchOp.LT, mappingField = "price")
    @ApiModelProperty(value="价格小于")
    private String priceLt;

    @SearchCondition(op = SearchOp.LIKE)
    @ApiModelProperty(value="地址")
    private String place;

    @SearchCondition(op = SearchOp.LIKE)
    @ApiModelProperty(value="供应商")
    private String supplier;

    @SearchCondition(op = SearchOp.LIKE)
    @ApiModelProperty(value="计量单位")
    private String unit;

    @SearchCondition(op = SearchOp.LIKE)
    @ApiModelProperty(value="品牌")
    private String brand;

    @SearchCondition(op = SearchOp.LIKE)
    @ApiModelProperty(value="国家")
    private String country;

}
